home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 44 / Amiga Format CD44 (1999-08-26)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-10].iso / -in_the_mag- / basics / blitz / fpulib.lha / FPULIB.README next >
Text File  |  1997-03-03  |  1KB  |  52 lines

  1. Short:    An fast FPU-Library for Blitz2
  2. Uploader: RMazur@LFS.OL.NI.SCHULE.DE    (till end of june 1997)
  3. Author:   RMazur@LFS.OL.NI.SCHULE.DE    (till end of june 1997)
  4. Type:     dev/basic
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                          MazFpuLib V1.0
  11.  
  12.  
  13.  
  14. This  archive is an extension to the Blitz2 language by Acid Software.
  15. If you're not a Blitz2 programmer, don't bother downloading this archive!
  16.  
  17.  
  18. This library allows you to use directly your FPU (no other libraries necessary).
  19.  
  20.  
  21. 1. The commands are:
  22.  
  23.      z.f=FSin(x.f)         ;All functions need a Rad-Value
  24.      z.f=FCos(x.f)
  25.      z.f=FTan(x.f)
  26.  
  27.      z.f=FASin(x.f)
  28.      z.f=FACos(x.f)
  29.      z.f=FATan(x.f)
  30.  
  31.      z.f=FRad(x.f)        ;Converts Deg to Rad  z=x*Pi/180
  32.      z.f=FDeg(x.f)        ;Converts Rad to Deg  z=x*180/Pi
  33.  
  34.      
  35.      z.f=FPow(x.f,y.f)     ;z=x^y
  36.  
  37.      z.f=FSqr(x.f)
  38.  
  39.      z.f=FLog(x.f)
  40.      z.f=FLog10(x.f)
  41.  
  42.  
  43.  
  44. 2. The library number is 35.
  45.  
  46. 3. All commands are 100% compatible to the standard commands. For example
  47.    the FSqr(-4) is defined as: FSqr(4)=2
  48.  
  49.  
  50. 4. If you like it, or you want to use it, or you want to get the sourcecode
  51.    or specially if you know how to write an IsFpu-command then please e-mail me.
  52.